package com.lmqb.service;

import java.util.List;

import com.lmqb.bean.SysRolemenu;
import com.lmqb.bean.SysUser;
import com.lmqb.bean.SysUserOperationLog;
import com.lmqb.entry.LeftMenu;
import com.lmqb.page.SysUserLogPager;
import com.lmqb.page.SysUserLoginPager;

public interface SysUserService {

	SysUser SelectByName(String username);

	void updateLogin(String ip, SysUser sysUser2);

	List<LeftMenu> selectRoleMenu(SysUser data);

	List<SysUser> selectAll(SysUser admin);

	void insert(SysUser sysUser1, SysUser sysUser);

	SysUser selectById(Integer userId);

	void update(SysUser sysUser);

	void insertLog(SysUserOperationLog log);

	SysUserLogPager selectLogPager(SysUserLogPager pagerModel);

	SysUserLoginPager selectLoginPager(SysUserLoginPager pagerModel);

	void updateAdmin(SysUser admin);

}
